{if $category->type == "article"}						
	{include file="articlecategory.tpl"}
{elseif $category->type == "product"}
	{include file="productcategory.tpl"}
{elseif $category->type == "app"}
	{include file="app.tpl"}
{/if}